package com.woniu.petkonwledge.mapper;

import com.woniu.common.entity.QuestionBank;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface QuestionBankMapper {
    @Select("select * from question_bank")
    public List<QuestionBank> getQuestion();
    @Select("select * from question_bank where id=#{id}")
    public QuestionBank getQuestionById(Integer id);
}
